#ifndef MYTREEVIEW_H
#define MYTREEVIEW_H

#include <QDirModel>
#include <QTreeView>
#include <QWidget>

class MyTreeView : public QWidget
{
    Q_OBJECT

public:
    MyTreeView(QWidget *parent = 0);
    ~MyTreeView();

private:
    QDirModel *model;
    QTreeView *treeView;

private slots:
    void mkdir();
    void rm();
};

#endif // MYTREEVIEW_H
